﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="jQueryAlert.aspx.cs" Inherits="jQueryAlert" %>

<%@ Register Assembly="JUtil.Web" Namespace="JUtil.Web" TagPrefix="cc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
  <title></title>
</head>
<body>
    <form id="form1" runat="server">
    
    <asp:ScriptManager 
      ID="ScriptManager2" 
      EnablePartialRendering="True"
      runat="server">
        <Scripts>
          <asp:ScriptReference 
            Assembly="JUtil.Web" 
            Name="JUtil.Web.JavaScript.jutil-all.js" />
        </Scripts>
    </asp:ScriptManager>
         
        
    <div>
      <asp:Button 
        ID="btn" 
        runat="server" 
        Text="Button" onclick="btn_Click" />
    </div>
    </form>
    
    <script type="text/javascript">
      $(function() {
        $('#btn').click(function() {
          //jAlert('This is a custom alert box', 'Alert Dialog');

          //return false;
        });
      });
    </script>
</body>
</html>
